<h1>Your Pragmatic Catalog</h1>
<% for product in @products -%>
<div class="entry" >
<img src="<%= product.image_url %>" />
<h3><%= h(product.title) %></h3>
<%= product.description %>
<span class="price" ><%= product.price %></span>

<% form_remote_tag :url => { :action => :add_to_cart, :id => product } do %>
<%= submit_tag "Add to Cart" %>
<% end %>

</div>
<% end %>
